<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number" value="{$row.sort|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['1'=>'开启', '2'=>'关闭'],$row['status'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启业务期限')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_time_limit]', ['1'=>'开启','2'=>'关闭'],$row['is_time_limit'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('业务期限别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_limit_as" data-rule="" class="form-control" name="row[time_limit_as]" type="text" value="{$row.time_limit_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启上传凭证')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_image]', ['1'=>'开启','2'=>'关闭'],$row['is_image'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('上传凭证别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-image_as" data-rule="" class="form-control" name="row[image_as]" type="text" value="{$row.image_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启客户姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_name]', ['1'=>'开启','2'=>'关闭'],$row['is_user_name'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户姓名别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name_as" data-rule="" class="form-control" name="row[user_name_as]" type="text" value="{$row.user_name_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启客户电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_phone]', ['1'=>'开启','2'=>'关闭'],$row['is_user_phone'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户电话别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_phone_as" data-rule="" class="form-control" name="row[user_phone_as]" type="text" value="{$row.user_phone_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启业务金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_user_money]', ['1'=>'开启','2'=>'关闭'],$row['is_user_money'])}
        </div>
    </div>
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('业务金额别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_money_as" data-rule="" class="form-control" name="row[user_money_as]" type="text" value="{$row.user_money_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启柜员号')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_gyh]', ['1'=>'开启','2'=>'关闭'],$row['is_gyh'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启柜员号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gyh_as" data-rule="" class="form-control" name="row[gyh_as]" type="text" value="{$row.gyh_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_remark]', ['1'=>'开启','2'=>'关闭'],$row['is_remark'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('备注别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark_as" data-rule="" class="form-control" name="row[remark_as]" type="text" value="{$row.remark_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启缴费时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_pay_date]', ['1'=>'开启','2'=>'关闭'],$row['is_pay_date'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('缴费时间别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_date_as" data-rule="" class="form-control" name="row[pay_date_as]" type="text" value="{$row.pay_date_as|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('是否开启房号')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_room_no]', ['1'=>'开启','2'=>'关闭'],$row['is_room_no'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('房号别名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-room_no_as" data-rule="" class="form-control" name="row[room_no_as]" type="text" value="{$row.room_no_as|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
